<?php
$file = new SplFileObject("/root/gipphp_log" , "r");
$count = 0;
foreach( $file as $line)
{
	$count++;
	//echo $file->key() . ". " . $line;
}

print( $count );